Feat: roomlist update
This commit is contained in:
		| @@ -46,6 +46,11 @@ func getRoomByID(roomID string) (*models.Room, error) { | ||||
| 	return resp, nil | ||||
| } | ||||
|  | ||||
| func removeRoom(roomID string) { | ||||
| 	key := models.CacheRoomPrefix + roomID | ||||
| 	memcache.RemoveKey(key) | ||||
| } | ||||
|  | ||||
| // context | ||||
| func getRoomIDFromCtx(ctx context.Context) string { | ||||
| 	id, _ := ctx.Value(models.CtxRoomIDKey).(string) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder