Open xpe opened 7 months ago
Thanks for the report @xpe. Are you trying to delete the room you are in? If so, what happens when you leave the room and try to delete it? If that is the case, we should either make it so you can delete rooms you are in, or have a better error message - that one is not user friendly.
hi! I managed to replicate the bug, as far as I can tell, this error just happens if you are in the room you are trying to delete, so all that should be done is a more user friendly error message like "you cannot delete a room you are in, please exit the room first."
I get the same error when I try to leave the zed channel. I am not in a room.
RPC request RemoveChannelMember failed: invalid notification kind "ChannelInvitation". Please try again.
@georgeo-zh this is a different error so you probably should create a separate issue for that, filling up details on how to procude.
This issue (#7117) could be renamed to "give better error message when trying to delete a channel with people in it" or "allow to delete a channel if there are people in".
Check for existing issues
Describe the bug / provide steps to reproduce it
I see this: Error: RPC request DeleteChannel failed: error returned from database: update or delete on table "rooms" violates foreign key constraint "room_participants_room_id_fkey" on table "room_participants"
when I attempt to delete my
#zed
channel which is different than my))) zed
channel.Sorry if my screenshots are confusing -- I renamed the channel from
zed
tozed2
along the way.Related questions:
zed
myself before the official one connected?Environment
Zed: v0.120.4 (Zed Preview) OS: macOS 14.2.1 Memory: 32 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.If you only need the most recent lines, you can run the
zed: open log
command palette action to see the last 1000.