mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-18 04:50:08 +03:00
Merge branch 'develop' into feature/fix_filtering_redacted
This commit is contained in:
commit
4d558c5f95
2 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ Bugfix 🐛:
|
||||||
- User Verification in DM not working
|
- User Verification in DM not working
|
||||||
- Manual import of Megolm keys does back up the imported keys
|
- Manual import of Megolm keys does back up the imported keys
|
||||||
- Auto scrolling to the latest message when sending (#2094)
|
- Auto scrolling to the latest message when sending (#2094)
|
||||||
|
- Fix incorrect permission check when creating widgets (#2137)
|
||||||
|
|
||||||
Translations 🗣:
|
Translations 🗣:
|
||||||
-
|
-
|
||||||
|
|
|
@ -202,6 +202,6 @@ internal class WidgetManager @Inject constructor(private val integrationManager:
|
||||||
stateKey = QueryStringValue.NoCondition
|
stateKey = QueryStringValue.NoCondition
|
||||||
)
|
)
|
||||||
val powerLevelsContent = powerLevelsEvent?.content?.toModel<PowerLevelsContent>() ?: return false
|
val powerLevelsContent = powerLevelsEvent?.content?.toModel<PowerLevelsContent>() ?: return false
|
||||||
return PowerLevelsHelper(powerLevelsContent).isUserAllowedToSend(userId, true, null)
|
return PowerLevelsHelper(powerLevelsContent).isUserAllowedToSend(userId, true, EventType.STATE_ROOM_WIDGET_LEGACY)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue