mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Update API scheme to layer 134.
This commit is contained in:
@@ -1106,6 +1106,9 @@ auto HtmlWriter::Wrap::pushMessage(
|
||||
return isChannel
|
||||
? ("Channel theme was changed to " + data.emoji).toUtf8()
|
||||
: (serviceFrom + " changed chat theme to " + data.emoji).toUtf8();
|
||||
}, [&](const ActionChatJoinedByRequest &data) {
|
||||
return serviceFrom
|
||||
+ " joined group by request";
|
||||
}, [](v::null_t) { return QByteArray(); });
|
||||
|
||||
if (!serviceText.isEmpty()) {
|
||||
|
@@ -523,6 +523,9 @@ QByteArray SerializeMessage(
|
||||
if (!data.emoji.isEmpty()) {
|
||||
push("emoticon", data.emoji.toUtf8());
|
||||
}
|
||||
}, [&](const ActionChatJoinedByRequest &data) {
|
||||
pushActor();
|
||||
pushAction("join_group_by_request");
|
||||
}, [](v::null_t) {});
|
||||
|
||||
if (v::is_null(message.action.content)) {
|
||||
|
Reference in New Issue
Block a user