mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-10-09 13:56:19 +00:00
Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId.
This commit is contained in:
@@ -232,7 +232,7 @@ rpl::producer<> UiIntegration::forcePopupMenuHideRequests() {
|
||||
QString UiIntegration::convertTagToMimeTag(const QString &tagId) {
|
||||
if (TextUtilities::IsMentionLink(tagId)) {
|
||||
if (const auto session = Core::App().activeAccount().maybeSession()) {
|
||||
return tagId + ':' + QString::number(session->userId());
|
||||
return tagId + ':' + QString::number(session->userId().bare);
|
||||
}
|
||||
}
|
||||
return tagId;
|
||||
|
Reference in New Issue
Block a user