From dd42079d7930a704ef7444ca63d3a55a9d9568de Mon Sep 17 00:00:00 2001 From: dominic Date: Thu, 12 Oct 2023 18:36:16 +0100 Subject: [PATCH] refactor: return null instead of a promise --- src/lib/chat/sendbird-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/chat/sendbird-client.ts b/src/lib/chat/sendbird-client.ts index cb3bb3b03..055f731b4 100644 --- a/src/lib/chat/sendbird-client.ts +++ b/src/lib/chat/sendbird-client.ts @@ -88,7 +88,7 @@ export class SendbirdClient implements IChatClient { async getUserPresence() { console.warn('getUserPresence method is not implemented for SendbirdClient.'); - return Promise.resolve(null); + return null; } async searchMyNetworksByName(filter: string): Promise {