mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Fix links in voice chat admin log events.
This commit is contained in:
@@ -838,7 +838,7 @@ void GenerateItems(
|
|||||||
data.vparticipant().match([&](const MTPDgroupCallParticipant &data) {
|
data.vparticipant().match([&](const MTPDgroupCallParticipant &data) {
|
||||||
const auto user = history->owner().user(data.vuser_id().v);
|
const auto user = history->owner().user(data.vuser_id().v);
|
||||||
const auto userLink = user->createOpenLink();
|
const auto userLink = user->createOpenLink();
|
||||||
const auto userLinkText = textcmdLink(1, user->name);
|
const auto userLinkText = textcmdLink(2, user->name);
|
||||||
auto text = tr::lng_admin_log_muted_participant(
|
auto text = tr::lng_admin_log_muted_participant(
|
||||||
tr::now,
|
tr::now,
|
||||||
lt_from,
|
lt_from,
|
||||||
@@ -862,7 +862,7 @@ void GenerateItems(
|
|||||||
data.vparticipant().match([&](const MTPDgroupCallParticipant &data) {
|
data.vparticipant().match([&](const MTPDgroupCallParticipant &data) {
|
||||||
const auto user = history->owner().user(data.vuser_id().v);
|
const auto user = history->owner().user(data.vuser_id().v);
|
||||||
const auto userLink = user->createOpenLink();
|
const auto userLink = user->createOpenLink();
|
||||||
const auto userLinkText = textcmdLink(1, user->name);
|
const auto userLinkText = textcmdLink(2, user->name);
|
||||||
auto text = tr::lng_admin_log_unmuted_participant(
|
auto text = tr::lng_admin_log_unmuted_participant(
|
||||||
tr::now,
|
tr::now,
|
||||||
lt_from,
|
lt_from,
|
||||||
|
Reference in New Issue
Block a user