You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-14 19:02:33 +03:00
Remove stray debug
This commit is contained in:
@@ -62,7 +62,6 @@ export default class MessagePreview extends React.Component<IProps, IState> {
|
|||||||
// Fetch current user data
|
// Fetch current user data
|
||||||
const client = MatrixClientPeg.get()
|
const client = MatrixClientPeg.get()
|
||||||
const userId = client.getUserId();
|
const userId = client.getUserId();
|
||||||
console.log({userId})
|
|
||||||
const profileInfo = await client.getProfileInfo(userId);
|
const profileInfo = await client.getProfileInfo(userId);
|
||||||
const avatar_url = Avatar.avatarUrlForUser(
|
const avatar_url = Avatar.avatarUrlForUser(
|
||||||
{avatarUrl: profileInfo.avatar_url},
|
{avatarUrl: profileInfo.avatar_url},
|
||||||
|
|||||||
Reference in New Issue
Block a user