Profile Photo: Fix upload bot photo (#6776)
This commit is contained in:
parent
b5fed8276a
commit
ed638330d4
@ -150,7 +150,10 @@ addActionHandler('uploadProfilePhoto', async (global, actions, payload): Promise
|
||||
global = updateManagementProgress(global, ManagementProgress.Complete, tabId);
|
||||
setGlobal(global);
|
||||
|
||||
actions.loadFullUser({ userId: global.currentUserId! });
|
||||
const userId = bot?.id ?? global.currentUserId;
|
||||
if (!userId) return;
|
||||
|
||||
actions.loadFullUser({ userId });
|
||||
});
|
||||
|
||||
addActionHandler('signUp', (global, actions, payload): ActionReturnType => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user