Fix wrong button text for bot's sponsored message
This commit is contained in:
parent
3fcd02eed4
commit
593c5844b9
@ -3952,7 +3952,7 @@ export default class ChatBubbles {
|
||||
if(sponsoredMessage.channel_post) {
|
||||
text = 'OpenChannelPost';
|
||||
mid = this.appMessagesIdsManager.generateMessageId(sponsoredMessage.channel_post);
|
||||
} else if(sponsoredMessage.start_param) {
|
||||
} else if(sponsoredMessage.start_param || this.appUsersManager.isBot(peerId.toUserId())) {
|
||||
text = 'Chat.Message.ViewBot';
|
||||
startParam = sponsoredMessage.start_param;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user