pin method
Implementation
Future<void> pin(Message msg) async {
if (msg.isSending) return;
put(msg.copyWith(isPinned: true));
final status = await RoomManager.i.updateMessage(msg.roomId, msg.id, {
'${MessageKeys.i.pins}.$me': true,
});
if (!status) put(msg.copyWith(isPinned: false));
}