lib/sup/modes/reply_mode.rb in sup-0.14.1.1 vs lib/sup/modes/reply_mode.rb in sup-0.15.0
- old
+ new
@@ -215,8 +215,14 @@
@headers[:user]["To"] = self.header["To"]
@headers[:user]["Cc"] = self.header["Cc"]
update
end
end
+
+ def send_message
+ return unless super # super returns true if the mail has been sent
+ @m.add_label :replied
+ Index.save_message @m
+ end
end
end