fix: Added pin permissions
This commit is contained in:
@@ -898,6 +898,7 @@ class _ChannelPageState extends State<ChannelPage> {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
pinPermissions: ['owner', 'admin', 'member'],
|
||||||
),
|
),
|
||||||
Positioned(
|
Positioned(
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
@@ -990,6 +991,7 @@ class _ThreadPageState extends State<ThreadPage> {
|
|||||||
initialAlignment: widget.initialAlignment,
|
initialAlignment: widget.initialAlignment,
|
||||||
onMessageSwiped: _reply,
|
onMessageSwiped: _reply,
|
||||||
onReplyTap: _reply,
|
onReplyTap: _reply,
|
||||||
|
pinPermissions: ['owner', 'admin', 'member'],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (widget.parent!.type != 'deleted')
|
if (widget.parent!.type != 'deleted')
|
||||||
|
|||||||
Reference in New Issue
Block a user