fix indentation
This commit is contained in:
parent
db1bcd7b5a
commit
21584cd91d
@ -66,26 +66,24 @@ Permissions::canSend(int eventType)
|
||||
int
|
||||
Permissions::defaultLevel()
|
||||
{
|
||||
return pl.users_default;
|
||||
return pl.users_default;
|
||||
}
|
||||
int
|
||||
Permissions::redactLevel()
|
||||
{
|
||||
return pl.redact;
|
||||
return pl.redact;
|
||||
}
|
||||
int
|
||||
Permissions::changeLevel(int eventType)
|
||||
{
|
||||
return
|
||||
pl.state_level(to_string(
|
||||
qml_mtx_events::fromRoomEventType(static_cast<qml_mtx_events::EventType>(eventType))));
|
||||
return pl.state_level(to_string(
|
||||
qml_mtx_events::fromRoomEventType(static_cast<qml_mtx_events::EventType>(eventType))));
|
||||
}
|
||||
int
|
||||
Permissions::sendLevel(int eventType)
|
||||
{
|
||||
return
|
||||
pl.event_level(to_string(
|
||||
qml_mtx_events::fromRoomEventType(static_cast<qml_mtx_events::EventType>(eventType))));
|
||||
return pl.event_level(to_string(
|
||||
qml_mtx_events::fromRoomEventType(static_cast<qml_mtx_events::EventType>(eventType))));
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user