Add support for 7TV emote update events (#305)
* Get 7TV emote set id * Add initial support for 7TV emote set events in chat * Add 7TV emote add/remove alerts in chat * Add author to 7TV events
This commit is contained in:
parent
466adea731
commit
8fab6bdbc9
19 changed files with 335 additions and 62 deletions
|
|
@ -1,10 +1,10 @@
|
|||
import 'package:collection/collection.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_mobx/flutter_mobx.dart';
|
||||
import 'package:frosty/constants.dart';
|
||||
import 'package:frosty/models/irc.dart';
|
||||
import 'package:frosty/screens/channel/chat/stores/chat_store.dart';
|
||||
import 'package:frosty/screens/channel/chat/widgets/chat_message.dart';
|
||||
import 'package:frosty/utils.dart';
|
||||
import 'package:frosty/widgets/section_header.dart';
|
||||
|
||||
class ReplyThread extends StatelessWidget {
|
||||
|
|
@ -28,9 +28,7 @@ class ReplyThread extends StatelessWidget {
|
|||
final replyUserLogin = selectedMessage.tags['reply-parent-user-login'];
|
||||
final replyBody = selectedMessage.tags['reply-parent-msg-body'];
|
||||
|
||||
final replyName = regexEnglish.hasMatch(replyDisplayName!)
|
||||
? replyDisplayName
|
||||
: '$replyDisplayName ($replyUserLogin)';
|
||||
final replyName = getReadableName(replyDisplayName!, replyUserLogin!);
|
||||
|
||||
return Observer(
|
||||
builder: (context) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue