mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-06 16:31:19 +00:00
Notification improvements
This commit is contained in:
parent
c549e8bc57
commit
d3afc8362e
16 changed files with 1772 additions and 682 deletions
|
|
@ -541,6 +541,10 @@ public class MessageObject {
|
|||
return messageOwner.from_id == UserConfig.getClientUserId();
|
||||
}
|
||||
|
||||
public boolean isUnread () {
|
||||
return messageOwner.unread;
|
||||
}
|
||||
|
||||
public long getDialogId() {
|
||||
if (messageOwner.dialog_id != 0) {
|
||||
return messageOwner.dialog_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue