fix(messages): sync preserve private dialogs after clearing history
This commit is contained in:
parent
3926db7762
commit
e22fac1c3f
19 changed files with 923 additions and 231 deletions
|
|
@ -137,6 +137,8 @@ func tgMessageServiceAction(msg domain.Message) tg.MessageActionClass {
|
|||
return nil
|
||||
}
|
||||
switch m.ServiceAction.Kind {
|
||||
case domain.MessageServiceActionHistoryClear:
|
||||
return &tg.MessageActionHistoryClear{}
|
||||
case domain.MessageServiceActionSuggestProfilePhoto:
|
||||
if m.ServiceAction.Photo == nil || m.ServiceAction.Photo.ID == 0 {
|
||||
return &tg.MessageActionEmpty{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue