Browse Source

Fix `getMe` bug (#127)

Roj Serbest 4 năm trước cách đây
mục cha
commit
968f96e12d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      gramjs/client/users.ts

+ 1 - 1
gramjs/client/users.ts

@@ -98,7 +98,7 @@ export async function getMe(
         if (!client._selfInputPeer) {
             client._selfInputPeer = utils.getInputPeer(
                 me,
-                true
+                false
             ) as Api.InputPeerUser;
         }
         return inputPeer ? client._selfInputPeer : me;