~reedwade/wee-matter#23: 
Use "me" instead of explicit user ID in URLs

For simplicity, I think you could change "…/" + user_id in most URLs with "…/me".

That would eliminate some parameters and also lines of code like this in room.mark_channel_as_read because server is used for nothing else:

server = wee_matter.server.get_server_from_buffer(buffer)
Status
REPORTED
Submitter
~midgard
Assigned to
No-one
Submitted
1 year, 14 days ago
Updated
1 year, 12 days ago
Labels
refact

~reedwade 1 year, 12 days ago

Great idea. I really got no incentive to do it now but it is nice to keep in mind for future developments.

Register here or Log in to comment, or comment via email.