fn notification_kv( (key, notifications): ((&UserId, &RoomId, OwnedEventId), u64), ) -> (OwnedEventId, (u64, u64))