refactor: Update SDK and enable login with email and phone
This commit is contained in:
parent
f19e83cf88
commit
39421fae32
8 changed files with 47 additions and 12 deletions
|
|
@ -87,7 +87,7 @@ class _ChatDetailsState extends State<ChatDetails> {
|
|||
newAliases.add(canonicalAlias);
|
||||
final response = await showFutureLoadingDialog(
|
||||
context: context,
|
||||
future: () => room.client.requestRoomAliasInformations(canonicalAlias),
|
||||
future: () => room.client.requestRoomAliasInformation(canonicalAlias),
|
||||
);
|
||||
if (response.error != null) {
|
||||
final success = await showFutureLoadingDialog(
|
||||
|
|
@ -327,8 +327,7 @@ class _ChatDetailsState extends State<ChatDetails> {
|
|||
// okay, we need to test if there are any emote state events other than the default one
|
||||
// if so, we need to be directed to a selection screen for which pack we want to look at
|
||||
// otherwise, we just open the normal one.
|
||||
if ((room.states
|
||||
.states['im.ponies.room_emotes'] ??
|
||||
if ((room.states['im.ponies.room_emotes'] ??
|
||||
<String, Event>{})
|
||||
.keys
|
||||
.any((String s) => s.isNotEmpty)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue