MCPcopy Create free account
hub / github.com/CommE2E/comm / onPressNotificationForThread

Method onPressNotificationForThread

native/push/push-handler.react.js:671–678  ·  view source on GitHub ↗
(threadID: string, clearChatRoutes: boolean)

Source from the content-addressed store, hash-verified

669 }
670
671 onPressNotificationForThread(threadID: string, clearChatRoutes: boolean) {
672 const threadInfo = this.props.threadInfos[threadID];
673 if (threadInfo) {
674 this.navigateToThread(threadInfo, clearChatRoutes);
675 } else {
676 this.openThreadOnceReceived.add(threadID);
677 }
678 }
679
680 saveMessageInfos(rawMessageInfos: ?$ReadOnlyArray<RawMessageInfo>) {
681 if (!rawMessageInfos) {

Callers 2

PushHandlerClass · 0.95
showInAppNotificationMethod · 0.95

Calls 2

navigateToThreadMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected