Add emoji reaction report for channel chat, fix reaction deduping bug
In channel chat screen, clicking a reaction emoji brings up a popup listing the received emoji reactions and their senders. Also fixes a bug that prevented displaying the count numbers on reactions. Code existed to display counts for multiples, but the deduplication failed to differentiate between senders and was tossing them out. There is still another preexisting bug, not fixed by this commit, that over-counts sent reactions in rooms.
This commit is contained in:
1 parent
98f6cf3745
commit
76b34779cf
29 files changed
+265
-73
No files matched your search
@@ -435,6 +435,13 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Contact? getContactByPubKeyHex(String contactPubKeyHex) {
|
||||||
|
return _contacts.cast<Contact?>().firstWhere(
|
||||||
|
(c) => c?.publicKeyHex == contactPubKeyHex,
|
||||||
|
orElse: () => null,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
List<Contact> get allContacts => List.unmodifiable([
|
List<Contact> get allContacts => List.unmodifiable([
|
||||||
..._contacts,
|
..._contacts,
|
||||||
..._discoveredContacts.where(
|
..._discoveredContacts.where(
|
||||||
@@ -3101,9 +3108,14 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
// Check if this is a reaction - apply locally with pending status and route through retry service
|
// Check if this is a reaction - apply locally with pending status and route through retry service
|
||||||
final reactionInfo = ReactionHelper.parseReaction(text);
|
final reactionInfo = ReactionHelper.parseReaction(text);
|
||||||
if (reactionInfo != null) {
|
if (reactionInfo != null) {
|
||||||
|
appLogger.info('Sending reaction: ${reactionInfo.identifier()}');
|
||||||
_conversations.putIfAbsent(contact.publicKeyHex, () => []);
|
_conversations.putIfAbsent(contact.publicKeyHex, () => []);
|
||||||
final messages = _conversations[contact.publicKeyHex]!;
|
final messages = _conversations[contact.publicKeyHex]!;
|
||||||
|
|
||||||
|
// No check for duplicates. If you want to do it again to resend, you can.
|
||||||
|
final String reactionID = reactionInfo.identifier();
|
||||||
|
_processedContactReactions[contact.publicKeyHex]!.add(reactionID);
|
||||||
|
|
||||||
// Apply reaction locally with pending status
|
// Apply reaction locally with pending status
|
||||||
_processOutgoingContactReaction(messages, reactionInfo, contact);
|
_processOutgoingContactReaction(messages, reactionInfo, contact);
|
||||||
_setReactionStatus(
|
_setReactionStatus(
|
||||||
@@ -3145,7 +3157,7 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
translatedLanguageCode: translatedLanguageCode,
|
translatedLanguageCode: translatedLanguageCode,
|
||||||
translationModelId: translationModelId,
|
translationModelId: translationModelId,
|
||||||
);
|
);
|
||||||
_addMessage(contact.publicKeyHex, message);
|
_addMessage(contact.publicKeyHex, message); // recipient as "sender"
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
final outboundText = prepareContactOutboundText(contact, text);
|
final outboundText = prepareContactOutboundText(contact, text);
|
||||||
await sendFrame(buildSendTextMsgFrame(contact.publicKey, outboundText));
|
await sendFrame(buildSendTextMsgFrame(contact.publicKey, outboundText));
|
||||||
@@ -3482,11 +3494,12 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
// Check if this is a reaction - if so, process it immediately instead of adding as a message
|
// Check if this is a reaction - if so, process it immediately instead of adding as a message
|
||||||
final reactionInfo = ReactionHelper.parseReaction(text);
|
final reactionInfo = ReactionHelper.parseReaction(text);
|
||||||
if (reactionInfo != null) {
|
if (reactionInfo != null) {
|
||||||
|
reactionInfo.senderName = selfName;
|
||||||
// Check if we've already processed this reaction
|
// Check if we've already processed this reaction
|
||||||
_processedChannelReactions.putIfAbsent(channel.index, () => {});
|
_processedChannelReactions.putIfAbsent(channel.index, () => {});
|
||||||
final reactionIdentifier =
|
final reactionIdentifier = reactionInfo.identifier();
|
||||||
'${reactionInfo.targetHash}_${reactionInfo.emoji}';
|
|
||||||
|
|
||||||
|
// Maybe we should allow resending. Recipients can drop duplicates.
|
||||||
if (_processedChannelReactions[channel.index]!.contains(
|
if (_processedChannelReactions[channel.index]!.contains(
|
||||||
reactionIdentifier,
|
reactionIdentifier,
|
||||||
)) {
|
)) {
|
||||||
@@ -3499,6 +3512,7 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
final messages = _channelMessages[channel.index]!;
|
final messages = _channelMessages[channel.index]!;
|
||||||
|
|
||||||
// Process reaction locally to update the UI immediately
|
// Process reaction locally to update the UI immediately
|
||||||
|
appLogger.info('Adding sent channel reaction, id: $reactionIdentifier');
|
||||||
_processReaction(messages, reactionInfo);
|
_processReaction(messages, reactionInfo);
|
||||||
await _channelMessageStore.saveChannelMessages(channel.index, messages);
|
await _channelMessageStore.saveChannelMessages(channel.index, messages);
|
||||||
|
|
||||||
@@ -6031,15 +6045,23 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
if (reactionInfo != null) {
|
if (reactionInfo != null) {
|
||||||
// Check if we've already processed this exact reaction
|
// Check if we've already processed this exact reaction
|
||||||
_processedContactReactions.putIfAbsent(pubKeyHex, () => {});
|
_processedContactReactions.putIfAbsent(pubKeyHex, () => {});
|
||||||
final reactionIdentifier =
|
reactionInfo.senderName = _resolveContactSenderName(message, null, false);
|
||||||
'${reactionInfo.targetHash}_${reactionInfo.emoji}';
|
final reactionIdentifier = reactionInfo.identifier();
|
||||||
|
|
||||||
final isDuplicate = _processedContactReactions[pubKeyHex]!.contains(
|
final isDuplicate = _processedContactReactions[pubKeyHex]!.contains(
|
||||||
reactionIdentifier,
|
reactionIdentifier,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!isDuplicate) {
|
if (!isDuplicate) {
|
||||||
// New reaction - process it
|
// New reaction - process it
|
||||||
|
appLogger.info('Adding reaction, id: $reactionIdentifier');
|
||||||
|
// For hashing and dup checking, we use null for sender names in
|
||||||
|
// normal 1:1 chats. This way if we and they have different ideas
|
||||||
|
// about what their name is, reactions still work. But for reaction
|
||||||
|
// reports, we want to know who sent what, rather than infer it later,
|
||||||
|
// so we'll add it to the reactionInfo before storing it.
|
||||||
|
reactionInfo.senderName ??= message.isOutgoing
|
||||||
|
? selfName
|
||||||
|
: getContactByPubKeyHex(pubKeyHex)?.name ?? '???';
|
||||||
_processContactReaction(messages, reactionInfo, pubKeyHex);
|
_processContactReaction(messages, reactionInfo, pubKeyHex);
|
||||||
_messageStore.saveMessages(pubKeyHex, messages);
|
_messageStore.saveMessages(pubKeyHex, messages);
|
||||||
|
|
||||||
@@ -6064,10 +6086,7 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
ReactionInfo reactionInfo,
|
ReactionInfo reactionInfo,
|
||||||
String contactPubKeyHex,
|
String contactPubKeyHex,
|
||||||
) {
|
) {
|
||||||
final contact = _contacts.cast<Contact?>().firstWhere(
|
final contact = getContactByPubKeyHex(contactPubKeyHex);
|
||||||
(c) => c?.publicKeyHex == contactPubKeyHex,
|
|
||||||
orElse: () => null,
|
|
||||||
);
|
|
||||||
final isRoomServer = contact?.type == advTypeRoom;
|
final isRoomServer = contact?.type == advTypeRoom;
|
||||||
|
|
||||||
ReactionHelper.applyReaction<Message>(
|
ReactionHelper.applyReaction<Message>(
|
||||||
@@ -6116,10 +6135,7 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
) {
|
) {
|
||||||
final messages = _conversations[pubKeyHex];
|
final messages = _conversations[pubKeyHex];
|
||||||
if (messages == null) return;
|
if (messages == null) return;
|
||||||
final contact = _contacts.cast<Contact?>().firstWhere(
|
final contact = getContactByPubKeyHex(pubKeyHex);
|
||||||
(c) => c?.publicKeyHex == pubKeyHex,
|
|
||||||
orElse: () => null,
|
|
||||||
);
|
|
||||||
final isRoomServer = contact?.type == advTypeRoom;
|
final isRoomServer = contact?.type == advTypeRoom;
|
||||||
for (int i = messages.length - 1; i >= 0; i--) {
|
for (int i = messages.length - 1; i >= 0; i--) {
|
||||||
final msg = messages[i];
|
final msg = messages[i];
|
||||||
@@ -6278,12 +6294,11 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
final messages = _channelMessages[channelIndex]!;
|
final messages = _channelMessages[channelIndex]!;
|
||||||
|
|
||||||
// Parse reaction info
|
// Parse reaction info
|
||||||
final reactionInfo = ChannelMessage.parseReaction(message.text);
|
final reactionInfo = message.parseReaction();
|
||||||
if (reactionInfo != null) {
|
if (reactionInfo != null) {
|
||||||
// Check if we've already processed this exact reaction
|
// Check if we've already processed this exact reaction
|
||||||
_processedChannelReactions.putIfAbsent(channelIndex, () => {});
|
_processedChannelReactions.putIfAbsent(channelIndex, () => {});
|
||||||
final reactionIdentifier =
|
final reactionIdentifier = reactionInfo.identifier();
|
||||||
'${reactionInfo.targetHash}_${reactionInfo.emoji}';
|
|
||||||
|
|
||||||
final isDuplicate = _processedChannelReactions[channelIndex]!.contains(
|
final isDuplicate = _processedChannelReactions[channelIndex]!.contains(
|
||||||
reactionIdentifier,
|
reactionIdentifier,
|
||||||
@@ -6291,6 +6306,7 @@ class MeshCoreConnector extends ChangeNotifier {
|
|||||||
|
|
||||||
if (!isDuplicate) {
|
if (!isDuplicate) {
|
||||||
// New reaction - process it
|
// New reaction - process it
|
||||||
|
appLogger.info('Adding channel reaction, id: $reactionIdentifier');
|
||||||
_processReaction(messages, reactionInfo);
|
_processReaction(messages, reactionInfo);
|
||||||
// Save updated messages
|
// Save updated messages
|
||||||
_channelMessageStore.saveChannelMessages(channelIndex, messages);
|
_channelMessageStore.saveChannelMessages(channelIndex, messages);
|
||||||
|
|||||||
@@ -3,8 +3,17 @@ import '../widgets/emoji_picker.dart';
|
|||||||
class ReactionInfo {
|
class ReactionInfo {
|
||||||
final String targetHash;
|
final String targetHash;
|
||||||
final String emoji;
|
final String emoji;
|
||||||
|
String? senderName;
|
||||||
|
|
||||||
ReactionInfo({required this.targetHash, required this.emoji});
|
ReactionInfo({
|
||||||
|
required this.targetHash,
|
||||||
|
required this.emoji,
|
||||||
|
this.senderName,
|
||||||
|
});
|
||||||
|
|
||||||
|
String identifier() {
|
||||||
|
return '$targetHash:$emoji:${senderName ?? ""}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class ReactionHelper {
|
class ReactionHelper {
|
||||||
@@ -26,9 +35,8 @@ class ReactionHelper {
|
|||||||
required int Function(T) getTimestampSecs,
|
required int Function(T) getTimestampSecs,
|
||||||
required String? Function(T) getSenderName,
|
required String? Function(T) getSenderName,
|
||||||
required String Function(T) getMessageText,
|
required String Function(T) getMessageText,
|
||||||
required Map<String, int> Function(T) getReactions,
|
required Map<String, List<String?>> Function(T) getReactions,
|
||||||
required bool Function(T) shouldSkip,
|
required bool Function(T) shouldSkip,
|
||||||
required void Function(int index, Map<String, int> newReactions)
|
|
||||||
updateMessage,
|
updateMessage,
|
||||||
}) {
|
}) {
|
||||||
final targetHash = reactionInfo.targetHash;
|
final targetHash = reactionInfo.targetHash;
|
||||||
@@ -42,9 +50,12 @@ class ReactionHelper {
|
|||||||
getMessageText(msg),
|
getMessageText(msg),
|
||||||
);
|
);
|
||||||
if (msgHash == targetHash) {
|
if (msgHash == targetHash) {
|
||||||
final currentReactions = Map<String, int>.from(getReactions(msg));
|
final currentReactions = Map<String, List<String?>>.from(
|
||||||
currentReactions[reactionInfo.emoji] =
|
getReactions(msg),
|
||||||
(currentReactions[reactionInfo.emoji] ?? 0) + 1;
|
);
|
||||||
|
(currentReactions[reactionInfo.emoji] ??= []).add(
|
||||||
|
reactionInfo.senderName,
|
||||||
|
);
|
||||||
updateMessage(i, currentReactions);
|
updateMessage(i, currentReactions);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -742,6 +742,7 @@
|
|||||||
"chat_reply": "Reply",
|
"chat_reply": "Reply",
|
||||||
"chat_addReaction": "Add Reaction",
|
"chat_addReaction": "Add Reaction",
|
||||||
"chat_me": "Me",
|
"chat_me": "Me",
|
||||||
|
"reaction_report": "Emoji Reactions",
|
||||||
"emojiCategorySmileys": "Smileys",
|
"emojiCategorySmileys": "Smileys",
|
||||||
"emojiCategoryGestures": "Gestures",
|
"emojiCategoryGestures": "Gestures",
|
||||||
"emojiCategoryHearts": "Hearts",
|
"emojiCategoryHearts": "Hearts",
|
||||||
|
|||||||
@@ -2740,6 +2740,12 @@ abstract class AppLocalizations {
|
|||||||
/// **'Me'**
|
/// **'Me'**
|
||||||
String get chat_me;
|
String get chat_me;
|
||||||
|
|
||||||
|
/// No description provided for @reaction_report.
|
||||||
|
///
|
||||||
|
/// In en, this message translates to:
|
||||||
|
/// **'Emoji Reactions'**
|
||||||
|
String get reaction_report;
|
||||||
|
|
||||||
/// No description provided for @emojiCategorySmileys.
|
/// No description provided for @emojiCategorySmileys.
|
||||||
///
|
///
|
||||||
/// In en, this message translates to:
|
/// In en, this message translates to:
|
||||||
|
|||||||
@@ -1492,6 +1492,9 @@ class AppLocalizationsBg extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Аз';
|
String get chat_me => 'Аз';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Емотикони';
|
String get emojiCategorySmileys => 'Емотикони';
|
||||||
|
|
||||||
|
|||||||
@@ -1493,6 +1493,9 @@ class AppLocalizationsDe extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Ich';
|
String get chat_me => 'Ich';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Emoticons';
|
String get emojiCategorySmileys => 'Emoticons';
|
||||||
|
|
||||||
|
|||||||
@@ -1462,6 +1462,9 @@ class AppLocalizationsEn extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Me';
|
String get chat_me => 'Me';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Smileys';
|
String get emojiCategorySmileys => 'Smileys';
|
||||||
|
|
||||||
|
|||||||
@@ -1489,6 +1489,9 @@ class AppLocalizationsEs extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Yo';
|
String get chat_me => 'Yo';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Emoticones';
|
String get emojiCategorySmileys => 'Emoticones';
|
||||||
|
|
||||||
|
|||||||
@@ -1491,6 +1491,9 @@ class AppLocalizationsFr extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Moi';
|
String get chat_me => 'Moi';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Émojis';
|
String get emojiCategorySmileys => 'Émojis';
|
||||||
|
|
||||||
|
|||||||
@@ -1484,6 +1484,9 @@ class AppLocalizationsHu extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Nekem';
|
String get chat_me => 'Nekem';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Hangulatjelek';
|
String get emojiCategorySmileys => 'Hangulatjelek';
|
||||||
|
|
||||||
|
|||||||
@@ -1490,6 +1490,9 @@ class AppLocalizationsIt extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Io';
|
String get chat_me => 'Io';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Emoji';
|
String get emojiCategorySmileys => 'Emoji';
|
||||||
|
|
||||||
|
|||||||
@@ -1419,6 +1419,9 @@ class AppLocalizationsJa extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => '私';
|
String get chat_me => '私';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => '顔文字';
|
String get emojiCategorySmileys => '顔文字';
|
||||||
|
|
||||||
|
|||||||
@@ -1422,6 +1422,9 @@ class AppLocalizationsKo extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => '나';
|
String get chat_me => '나';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => '이모티콘';
|
String get emojiCategorySmileys => '이모티콘';
|
||||||
|
|
||||||
|
|||||||
@@ -1478,6 +1478,9 @@ class AppLocalizationsNl extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Mijn';
|
String get chat_me => 'Mijn';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Emoji\'s';
|
String get emojiCategorySmileys => 'Emoji\'s';
|
||||||
|
|
||||||
|
|||||||
@@ -1501,6 +1501,9 @@ class AppLocalizationsPl extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Ja';
|
String get chat_me => 'Ja';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Emoji';
|
String get emojiCategorySmileys => 'Emoji';
|
||||||
|
|
||||||
|
|||||||
@@ -1488,6 +1488,9 @@ class AppLocalizationsPt extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Eu';
|
String get chat_me => 'Eu';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Emojis';
|
String get emojiCategorySmileys => 'Emojis';
|
||||||
|
|
||||||
|
|||||||
@@ -1489,6 +1489,9 @@ class AppLocalizationsRu extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Я';
|
String get chat_me => 'Я';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Смайлы';
|
String get emojiCategorySmileys => 'Смайлы';
|
||||||
|
|
||||||
|
|||||||
@@ -1478,6 +1478,9 @@ class AppLocalizationsSk extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Mne';
|
String get chat_me => 'Mne';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Emoji';
|
String get emojiCategorySmileys => 'Emoji';
|
||||||
|
|
||||||
|
|||||||
@@ -1477,6 +1477,9 @@ class AppLocalizationsSl extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'jaz';
|
String get chat_me => 'jaz';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Emoji';
|
String get emojiCategorySmileys => 'Emoji';
|
||||||
|
|
||||||
|
|||||||
@@ -1470,6 +1470,9 @@ class AppLocalizationsSv extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Mig';
|
String get chat_me => 'Mig';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Emojis';
|
String get emojiCategorySmileys => 'Emojis';
|
||||||
|
|
||||||
|
|||||||
@@ -1483,6 +1483,9 @@ class AppLocalizationsUk extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => 'Я';
|
String get chat_me => 'Я';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => 'Емодзі';
|
String get emojiCategorySmileys => 'Емодзі';
|
||||||
|
|
||||||
|
|||||||
@@ -1405,6 +1405,9 @@ class AppLocalizationsZh extends AppLocalizations {
|
|||||||
@override
|
@override
|
||||||
String get chat_me => '我';
|
String get chat_me => '我';
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get reaction_report => 'Emoji Reactions';
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get emojiCategorySmileys => '表情';
|
String get emojiCategorySmileys => '表情';
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class ChannelMessage {
|
|||||||
final String? replyToMessageId;
|
final String? replyToMessageId;
|
||||||
final String? replyToSenderName;
|
final String? replyToSenderName;
|
||||||
final String? replyToText;
|
final String? replyToText;
|
||||||
final Map<String, int> reactions;
|
final Map<String, List<String?>> reactions;
|
||||||
|
|
||||||
ChannelMessage({
|
ChannelMessage({
|
||||||
this.senderKey,
|
this.senderKey,
|
||||||
@@ -76,7 +76,7 @@ class ChannelMessage {
|
|||||||
this.replyToMessageId,
|
this.replyToMessageId,
|
||||||
this.replyToSenderName,
|
this.replyToSenderName,
|
||||||
this.replyToText,
|
this.replyToText,
|
||||||
Map<String, int>? reactions,
|
Map<String, List<String?>>? reactions,
|
||||||
}) : messageId =
|
}) : messageId =
|
||||||
messageId ??
|
messageId ??
|
||||||
'${timestamp.millisecondsSinceEpoch}_${senderName.hashCode}_${text.hashCode}',
|
'${timestamp.millisecondsSinceEpoch}_${senderName.hashCode}_${text.hashCode}',
|
||||||
@@ -107,7 +107,7 @@ class ChannelMessage {
|
|||||||
Object? translatedLanguageCode = _unset,
|
Object? translatedLanguageCode = _unset,
|
||||||
MessageTranslationStatus? translationStatus,
|
MessageTranslationStatus? translationStatus,
|
||||||
Object? translationModelId = _unset,
|
Object? translationModelId = _unset,
|
||||||
Map<String, int>? reactions,
|
Map<String, List<String?>>? reactions,
|
||||||
}) {
|
}) {
|
||||||
return ChannelMessage(
|
return ChannelMessage(
|
||||||
senderKey: senderKey,
|
senderKey: senderKey,
|
||||||
@@ -297,8 +297,32 @@ class ChannelMessage {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
static ReactionInfo? parseReaction(String text) {
|
ReactionInfo? parseReaction() {
|
||||||
return ReactionHelper.parseReaction(text);
|
final reactionInfo = ReactionHelper.parseReaction(text);
|
||||||
|
reactionInfo?.senderName = senderName;
|
||||||
|
return reactionInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
String computeReactionHash() {
|
||||||
|
return ReactionHelper.computeReactionHash(
|
||||||
|
timestamp.millisecondsSinceEpoch ~/ 1000,
|
||||||
|
senderName,
|
||||||
|
text,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
List<ReactionInfo> reactionList() {
|
||||||
|
final String hash = computeReactionHash();
|
||||||
|
List<ReactionInfo> reactionList = [];
|
||||||
|
for (final entry in reactions.entries) {
|
||||||
|
final emoji = entry.key;
|
||||||
|
for (final senderName in entry.value) {
|
||||||
|
reactionList.add(
|
||||||
|
ReactionInfo(targetHash: hash, emoji: emoji, senderName: senderName),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return reactionList;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ enum MessageStatus { pending, sent, delivered, failed }
|
|||||||
class Message {
|
class Message {
|
||||||
static const Object _unset = Object();
|
static const Object _unset = Object();
|
||||||
|
|
||||||
final Uint8List senderKey;
|
final Uint8List senderKey; // For outgoing msgs, gets used as recipientKey
|
||||||
final String text;
|
final String text;
|
||||||
final DateTime timestamp;
|
final DateTime timestamp;
|
||||||
final bool isOutgoing;
|
final bool isOutgoing;
|
||||||
@@ -30,7 +30,7 @@ class Message {
|
|||||||
final int? tripTimeMs;
|
final int? tripTimeMs;
|
||||||
final int? pathLength;
|
final int? pathLength;
|
||||||
final Uint8List pathBytes;
|
final Uint8List pathBytes;
|
||||||
final Map<String, int> reactions;
|
final Map<String, List<String?>> reactions;
|
||||||
final Map<String, MessageStatus> reactionStatuses;
|
final Map<String, MessageStatus> reactionStatuses;
|
||||||
final Uint8List fourByteRoomContactKey;
|
final Uint8List fourByteRoomContactKey;
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ class Message {
|
|||||||
this.pathLength,
|
this.pathLength,
|
||||||
Uint8List? pathBytes,
|
Uint8List? pathBytes,
|
||||||
Uint8List? fourByteRoomContactKey,
|
Uint8List? fourByteRoomContactKey,
|
||||||
Map<String, int>? reactions,
|
Map<String, List<String?>>? reactions,
|
||||||
Map<String, MessageStatus>? reactionStatuses,
|
Map<String, MessageStatus>? reactionStatuses,
|
||||||
}) : messageId =
|
}) : messageId =
|
||||||
messageId ??
|
messageId ??
|
||||||
@@ -84,7 +84,7 @@ class Message {
|
|||||||
Object? translatedLanguageCode = _unset,
|
Object? translatedLanguageCode = _unset,
|
||||||
MessageTranslationStatus? translationStatus,
|
MessageTranslationStatus? translationStatus,
|
||||||
Object? translationModelId = _unset,
|
Object? translationModelId = _unset,
|
||||||
Map<String, int>? reactions,
|
Map<String, List<String?>>? reactions,
|
||||||
Map<String, MessageStatus>? reactionStatuses,
|
Map<String, MessageStatus>? reactionStatuses,
|
||||||
Uint8List? fourByteRoomContactKey,
|
Uint8List? fourByteRoomContactKey,
|
||||||
}) {
|
}) {
|
||||||
|
|||||||
@@ -700,9 +700,9 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
|||||||
child: Text(
|
child: Text(
|
||||||
context.l10n.channels_via(
|
context.l10n.channels_via(
|
||||||
_formatPathPrefixes(
|
_formatPathPrefixes(
|
||||||
displayPath,
|
displayPath,
|
||||||
displayPathHashWidth,
|
displayPathHashWidth,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
style: MeshTheme.mono(
|
style: MeshTheme.mono(
|
||||||
fontSize: 9.5 * textScale,
|
fontSize: 9.5 * textScale,
|
||||||
@@ -928,7 +928,7 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
|||||||
runSpacing: 6,
|
runSpacing: 6,
|
||||||
children: message.reactions.entries.map((entry) {
|
children: message.reactions.entries.map((entry) {
|
||||||
final emoji = entry.key;
|
final emoji = entry.key;
|
||||||
final count = entry.value;
|
final int count = entry.value.length;
|
||||||
|
|
||||||
return Container(
|
return Container(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
|
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
|
||||||
@@ -937,35 +937,97 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
|||||||
borderRadius: BorderRadius.circular(MeshRadii.pill),
|
borderRadius: BorderRadius.circular(MeshRadii.pill),
|
||||||
border: Border.all(color: scheme.outlineVariant, width: 1),
|
border: Border.all(color: scheme.outlineVariant, width: 1),
|
||||||
),
|
),
|
||||||
child: Row(
|
child: InkWell(
|
||||||
mainAxisSize: MainAxisSize.min,
|
onTap: () => _showReactionsReport(message),
|
||||||
children: [
|
child: Row(
|
||||||
Text(
|
mainAxisSize: MainAxisSize.min,
|
||||||
emoji,
|
children: [
|
||||||
style: MeshTheme.emoji(fontSize: 16),
|
|
||||||
textHeightBehavior: const TextHeightBehavior(
|
|
||||||
applyHeightToFirstAscent: false,
|
|
||||||
applyHeightToLastDescent: false,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
if (count > 1) ...[
|
|
||||||
const SizedBox(width: 4),
|
|
||||||
Text(
|
Text(
|
||||||
'$count',
|
emoji,
|
||||||
style: MeshTheme.mono(
|
style: MeshTheme.emoji(fontSize: 16),
|
||||||
fontSize: 11,
|
textHeightBehavior: const TextHeightBehavior(
|
||||||
fontWeight: FontWeight.w700,
|
applyHeightToFirstAscent: false,
|
||||||
color: scheme.onSurface,
|
applyHeightToLastDescent: false,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (count > 1) ...[
|
||||||
|
const SizedBox(width: 4),
|
||||||
|
Text(
|
||||||
|
'$count',
|
||||||
|
style: MeshTheme.mono(
|
||||||
|
fontSize: 11,
|
||||||
|
fontWeight: FontWeight.w700,
|
||||||
|
color: scheme.onSurface,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
],
|
],
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}).toList(),
|
}).toList(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void _showReactionsReport(ChannelMessage message) {
|
||||||
|
final scheme = Theme.of(context).colorScheme;
|
||||||
|
showDialog(
|
||||||
|
context: context,
|
||||||
|
builder: (context) => AlertDialog(
|
||||||
|
title: Text(context.l10n.reaction_report),
|
||||||
|
content: SizedBox(
|
||||||
|
width: double.maxFinite,
|
||||||
|
child: Scrollbar(
|
||||||
|
child: ListView(
|
||||||
|
shrinkWrap: true,
|
||||||
|
padding: const EdgeInsets.symmetric(vertical: 4),
|
||||||
|
children: message.reactionList().map((reaction) {
|
||||||
|
return Container(
|
||||||
|
padding: const EdgeInsetsDirectional.symmetric(vertical: 4),
|
||||||
|
child: Container(
|
||||||
|
padding: const EdgeInsets.symmetric(
|
||||||
|
horizontal: 8,
|
||||||
|
vertical: 4,
|
||||||
|
),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: scheme.surfaceContainerHigh,
|
||||||
|
borderRadius: BorderRadius.circular(MeshRadii.pill),
|
||||||
|
border: Border.all(
|
||||||
|
color: scheme.outlineVariant,
|
||||||
|
width: 1,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.symmetric(
|
||||||
|
horizontal: 8,
|
||||||
|
vertical: 4,
|
||||||
|
),
|
||||||
|
child: Row(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
reaction.emoji,
|
||||||
|
style: MeshTheme.emoji(fontSize: 16),
|
||||||
|
textHeightBehavior: const TextHeightBehavior(
|
||||||
|
applyHeightToFirstAscent: false,
|
||||||
|
applyHeightToLastDescent: false,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(width: 12),
|
||||||
|
Expanded(child: Text(reaction.senderName ?? '???')),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}).toList(),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
Widget _buildPoiMessage(
|
Widget _buildPoiMessage(
|
||||||
BuildContext context,
|
BuildContext context,
|
||||||
MarkerPayload poi,
|
MarkerPayload poi,
|
||||||
@@ -1214,25 +1276,19 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
|||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hintText: context.l10n.chat_typeMessage,
|
hintText: context.l10n.chat_typeMessage,
|
||||||
border: OutlineInputBorder(
|
border: OutlineInputBorder(
|
||||||
borderRadius: BorderRadius.circular(
|
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||||
MeshRadii.md,
|
|
||||||
),
|
|
||||||
borderSide: BorderSide(
|
borderSide: BorderSide(
|
||||||
color: scheme.outlineVariant,
|
color: scheme.outlineVariant,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
enabledBorder: OutlineInputBorder(
|
enabledBorder: OutlineInputBorder(
|
||||||
borderRadius: BorderRadius.circular(
|
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||||
MeshRadii.md,
|
|
||||||
),
|
|
||||||
borderSide: BorderSide(
|
borderSide: BorderSide(
|
||||||
color: scheme.outlineVariant,
|
color: scheme.outlineVariant,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
focusedBorder: OutlineInputBorder(
|
focusedBorder: OutlineInputBorder(
|
||||||
borderRadius: BorderRadius.circular(
|
borderRadius: BorderRadius.circular(MeshRadii.md),
|
||||||
MeshRadii.md,
|
|
||||||
),
|
|
||||||
borderSide: BorderSide(
|
borderSide: BorderSide(
|
||||||
color: scheme.primary,
|
color: scheme.primary,
|
||||||
width: 1.5,
|
width: 1.5,
|
||||||
@@ -1533,12 +1589,7 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
|||||||
final connector = context.read<MeshCoreConnector>();
|
final connector = context.read<MeshCoreConnector>();
|
||||||
final emojiIndex = ReactionHelper.emojiToIndex(emoji);
|
final emojiIndex = ReactionHelper.emojiToIndex(emoji);
|
||||||
if (emojiIndex == null) return; // Unknown emoji, skip
|
if (emojiIndex == null) return; // Unknown emoji, skip
|
||||||
final timestampSecs = message.timestamp.millisecondsSinceEpoch ~/ 1000;
|
final hash = message.computeReactionHash();
|
||||||
final hash = ReactionHelper.computeReactionHash(
|
|
||||||
timestampSecs,
|
|
||||||
message.senderName,
|
|
||||||
message.text,
|
|
||||||
);
|
|
||||||
final reactionText = ReactionHelper.encodeReaction(hash, emojiIndex);
|
final reactionText = ReactionHelper.encodeReaction(hash, emojiIndex);
|
||||||
connector.sendChannelMessage(widget.channel, reactionText);
|
connector.sendChannelMessage(widget.channel, reactionText);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import 'package:flutter/scheduler.dart';
|
|||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
|
|
||||||
|
import '../utils/app_logger.dart';
|
||||||
import '../utils/platform_info.dart';
|
import '../utils/platform_info.dart';
|
||||||
|
|
||||||
import '../connector/meshcore_connector.dart';
|
import '../connector/meshcore_connector.dart';
|
||||||
@@ -1270,6 +1271,7 @@ class _ChatScreenState extends State<ChatScreen> {
|
|||||||
final senderName = liveContact.type == advTypeRoom
|
final senderName = liveContact.type == advTypeRoom
|
||||||
? senderContact.name
|
? senderContact.name
|
||||||
: null;
|
: null;
|
||||||
|
appLogger.info('Sending reaction using senderName: $senderName');
|
||||||
final hash = ReactionHelper.computeReactionHash(
|
final hash = ReactionHelper.computeReactionHash(
|
||||||
timestampSecs,
|
timestampSecs,
|
||||||
senderName,
|
senderName,
|
||||||
@@ -1643,7 +1645,7 @@ class _MessageBubble extends StatelessWidget {
|
|||||||
runSpacing: 6,
|
runSpacing: 6,
|
||||||
children: message.reactions.entries.map((entry) {
|
children: message.reactions.entries.map((entry) {
|
||||||
final emoji = entry.key;
|
final emoji = entry.key;
|
||||||
final count = entry.value;
|
final count = entry.value.length;
|
||||||
final status = message.reactionStatuses[emoji];
|
final status = message.reactionStatuses[emoji];
|
||||||
final isPending =
|
final isPending =
|
||||||
status == MessageStatus.pending || status == MessageStatus.sent;
|
status == MessageStatus.pending || status == MessageStatus.sent;
|
||||||
|
|||||||
@@ -195,7 +195,12 @@ class ChannelMessageStore {
|
|||||||
replyToText: json['replyToText'] as String?,
|
replyToText: json['replyToText'] as String?,
|
||||||
reactions:
|
reactions:
|
||||||
(json['reactions'] as Map<String, dynamic>?)?.map(
|
(json['reactions'] as Map<String, dynamic>?)?.map(
|
||||||
(key, value) => MapEntry(key, value as int),
|
(key, value) => MapEntry(
|
||||||
|
key,
|
||||||
|
(value is int)
|
||||||
|
? List<String?>.filled(value, null)
|
||||||
|
: value as List<String?>,
|
||||||
|
),
|
||||||
) ??
|
) ??
|
||||||
{},
|
{},
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -171,7 +171,12 @@ class MessageStore {
|
|||||||
pathBytes: decodedPathBytes,
|
pathBytes: decodedPathBytes,
|
||||||
reactions:
|
reactions:
|
||||||
(json['reactions'] as Map<String, dynamic>?)?.map(
|
(json['reactions'] as Map<String, dynamic>?)?.map(
|
||||||
(key, value) => MapEntry(key, value as int),
|
(key, value) => MapEntry(
|
||||||
|
key,
|
||||||
|
(value is int)
|
||||||
|
? List<String?>.filled(value, null)
|
||||||
|
: value as List<String?>,
|
||||||
|
),
|
||||||
) ??
|
) ??
|
||||||
{},
|
{},
|
||||||
reactionStatuses:
|
reactionStatuses:
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -42,6 +43,7 @@
|
|||||||
"repeater_pathHashModeOption2",
|
"repeater_pathHashModeOption2",
|
||||||
"repeater_pathHashModeOption3",
|
"repeater_pathHashModeOption3",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -76,6 +78,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -110,6 +113,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -144,6 +148,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -178,6 +183,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -212,6 +218,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -246,6 +253,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -280,6 +288,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -314,6 +323,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -348,6 +358,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -382,6 +393,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -416,6 +428,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -450,6 +463,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -484,6 +498,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -518,6 +533,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
@@ -552,6 +568,7 @@
|
|||||||
"channels_regionSelect_Title",
|
"channels_regionSelect_Title",
|
||||||
"channels_clearRegion",
|
"channels_clearRegion",
|
||||||
"chat_receivedGif",
|
"chat_receivedGif",
|
||||||
|
"reaction_report",
|
||||||
"repeater_keySettings",
|
"repeater_keySettings",
|
||||||
"repeater_keySettingsSubtitle",
|
"repeater_keySettingsSubtitle",
|
||||||
"repeater_prvKey",
|
"repeater_prvKey",
|
||||||
|
|||||||
Reference in new issue
Block a user