Merge pull request #486 from pangeachat/save-new-space-avatar

Save new space avatar
pull/1384/head
ggurdin 1 year ago committed by GitHub
commit c6640e5355
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -173,15 +173,17 @@ class NewSpaceController extends State<NewSpace> {
addToSpaceKey.currentState!.parent,
)
: null,
// initialState: [
// if (avatar != null)
// sdk.StateEvent(
// type: sdk.EventTypes.RoomAvatar,
// content: {'url': avatarUrl.toString()},
// ),
// ],
initialState: initialState,
// Pangea#
initialState: [
if (avatar != null)
sdk.StateEvent(
type: sdk.EventTypes.RoomAvatar,
content: {'url': avatarUrl.toString()},
),
// #Pangea
...initialState,
// Pangea#
],
);
// #Pangea
final List<Future<dynamic>> futures = [

Loading…
Cancel
Save