mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-05 15:41:02 +00:00
Update to 8.2.1 (2462)
This commit is contained in:
parent
09f95ec069
commit
1d379b9a7b
141 changed files with 11475 additions and 5394 deletions
|
|
@ -1760,6 +1760,8 @@ public class NotificationsController extends BaseController {
|
|||
: LocaleController.formatString("ChangedChatThemeTo", R.string.ChatThemeChangedTo, name, emoticon);
|
||||
}
|
||||
return msg;
|
||||
} else if (messageObject.messageOwner.action instanceof TLRPC.TL_messageActionChatJoinedByRequest) {
|
||||
return messageObject.messageText.toString();
|
||||
}
|
||||
} else {
|
||||
if (messageObject.isMediaEmpty()) {
|
||||
|
|
@ -2334,6 +2336,8 @@ public class NotificationsController extends BaseController {
|
|||
? LocaleController.formatString("ChangedChatThemeYou", R.string.ChatThemeChangedYou, emoticon)
|
||||
: LocaleController.formatString("ChangedChatThemeTo", R.string.ChatThemeChangedTo, name, emoticon);
|
||||
}
|
||||
} else if (messageObject.messageOwner.action instanceof TLRPC.TL_messageActionChatJoinedByRequest) {
|
||||
msg = messageObject.messageText.toString();
|
||||
}
|
||||
} else if (ChatObject.isChannel(chat) && !chat.megagroup) {
|
||||
if (messageObject.isMediaEmpty()) {
|
||||
|
|
@ -4125,8 +4129,9 @@ public class NotificationsController extends BaseController {
|
|||
}
|
||||
}
|
||||
|
||||
boolean needAddPerson = !(lastMessageObject.messageOwner.action instanceof TLRPC.TL_messageActionChatJoinedByRequest);
|
||||
NotificationCompat.MessagingStyle messagingStyle;
|
||||
if (selfPerson != null) {
|
||||
if (selfPerson != null && needAddPerson) {
|
||||
messagingStyle = new NotificationCompat.MessagingStyle(selfPerson);
|
||||
} else {
|
||||
messagingStyle = new NotificationCompat.MessagingStyle("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue