mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 10:11:41 -05:00
Merge branch 'master' of https://github.com/telegramdesktop/tdesktop
This commit is contained in:
commit
00783d116a
1 changed files with 7 additions and 3 deletions
|
@ -289,9 +289,13 @@ void PsMacWindowPrivate::showNotify(uint64 peer, int32 msgId, const QPixmap &pix
|
|||
[notification setTitle:QNSString(title).s()];
|
||||
[notification setSubtitle:QNSString(subtitle).s()];
|
||||
[notification setInformativeText:QNSString(msg).s()];
|
||||
if ([notification respondsToSelector:@selector(setContentImage:)]) {
|
||||
[notification setContentImage:img];
|
||||
}
|
||||
|
||||
if (withReply) [notification setHasReplyButton:YES];
|
||||
if (withReply && [notification respondsToSelector:@selector(setHasReplyButton:)]) {
|
||||
[notification setHasReplyButton:YES];
|
||||
}
|
||||
|
||||
[notification setSoundName:nil];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue