joinThreadIfCan method
void
joinThreadIfCan()
Implementation
void joinThreadIfCan() async {
if (thread != null) {
try {
thread = await ChatUIKit.instance
.fetchChatThread(chatThreadId: thread!.threadId);
await ChatUIKit.instance.joinChatThread(chatThreadId: thread!.threadId);
await fetchItemList();
} catch (e) {
chatPrint('join thread error: $e');
}
await insertCreateMessage();
}
}