fix: Added pin permissions

This commit is contained in:
Deven Joshi
2021-06-11 16:29:43 +05:30
parent 52b97e4ad2
commit cd04652649
+2
View File
@@ -898,6 +898,7 @@ class _ChannelPageState extends State<ChannelPage> {
),
);
},
pinPermissions: ['owner', 'admin', 'member'],
),
Positioned(
bottom: 0,
@@ -990,6 +991,7 @@ class _ThreadPageState extends State<ThreadPage> {
initialAlignment: widget.initialAlignment,
onMessageSwiped: _reply,
onReplyTap: _reply,
pinPermissions: ['owner', 'admin', 'member'],
),
),
if (widget.parent!.type != 'deleted')