File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -3004,6 +3004,12 @@ async fn prepare_send_msg(
3004
3004
///
3005
3005
/// The caller has to interrupt SMTP loop or otherwise process new rows.
3006
3006
pub ( crate ) async fn create_send_msg_jobs ( context : & Context , msg : & mut Message ) -> Result < Vec < i64 > > {
3007
+ if msg. param . get_cmd ( ) == SystemMessage :: GroupNameChanged {
3008
+ msg. chat_id
3009
+ . update_timestamp ( context, Param :: GroupNameTimestamp , msg. timestamp_sort )
3010
+ . await ?;
3011
+ }
3012
+
3007
3013
let needs_encryption = msg. param . get_bool ( Param :: GuaranteeE2ee ) . unwrap_or_default ( ) ;
3008
3014
let mimefactory = MimeFactory :: from_msg ( context, msg. clone ( ) ) . await ?;
3009
3015
let attach_selfavatar = mimefactory. attach_selfavatar ;
@@ -3049,11 +3055,6 @@ pub(crate) async fn create_send_msg_jobs(context: &Context, msg: &mut Message) -
3049
3055
msg. state = MessageState :: OutDelivered ;
3050
3056
return Ok ( Vec :: new ( ) ) ;
3051
3057
}
3052
- if msg. param . get_cmd ( ) == SystemMessage :: GroupNameChanged {
3053
- msg. chat_id
3054
- . update_timestamp ( context, Param :: GroupNameTimestamp , msg. timestamp_sort )
3055
- . await ?;
3056
- }
3057
3058
3058
3059
let rendered_msg = match mimefactory. render ( context) . await {
3059
3060
Ok ( res) => Ok ( res) ,
You can’t perform that action at this time.
0 commit comments