mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Allow editing last sent saved message by up key.
Also update libtgvoip.
Also replace 🤷 with a shrug.
This commit is contained in:
@@ -315,6 +315,13 @@ Replaces PrepareReplaces(const QString &filename) {
|
||||
auto name = getString("name");
|
||||
auto replacement = getString("alpha_code");
|
||||
auto aliases = getString("aliases").split('|');
|
||||
const auto Exceptions = { ":shrug:" };
|
||||
for (const auto &exception : Exceptions) {
|
||||
const auto index = aliases.indexOf(exception);
|
||||
if (index >= 0) {
|
||||
aliases.removeAt(index);
|
||||
}
|
||||
}
|
||||
if (aliases.size() == 1 && aliases[0].isEmpty()) {
|
||||
aliases.clear();
|
||||
}
|
||||
|
Reference in New Issue
Block a user