mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 14:18:49 +03:00
Fix linting
This commit is contained in:
parent
0285bf5e4e
commit
8d95532b28
1 changed files with 11 additions and 11 deletions
|
@ -365,13 +365,13 @@ UserProfile::changeAvatar()
|
|||
void
|
||||
UserProfile::updateRoomMemberState(mtx::events::state::Member member)
|
||||
{
|
||||
http::client()->send_state_event(
|
||||
roomid_.toStdString(),
|
||||
http::client()->send_state_event(roomid_.toStdString(),
|
||||
http::client()->user_id().to_string(),
|
||||
member,
|
||||
[](mtx::responses::EventId, mtx::http::RequestErr err) {
|
||||
if (err)
|
||||
nhlog::net()->error("Failed to update room member state : ",
|
||||
nhlog::net()->error(
|
||||
"Failed to update room member state : ",
|
||||
err->matrix_error.error);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue