feat: message edit and reaction

This commit is contained in:
zerosoul
2022-03-08 11:24:02 +08:00
parent 05896932b5
commit c99be639dc
16 changed files with 357 additions and 177 deletions
@@ -42,6 +42,10 @@ export default function ChannelModal({ personal = false, closeModal }) {
toast("please input channel name");
return;
}
if (data.is_public) {
// 公共频道 不必有members
delete data.members;
}
createChannel(data);
};
useEffect(() => {