65a607ea8e24c2f66c26245f507a59a7ca316896,dino/db/redis.py,DatabaseRedis,room_allows_cross_group_messaging,#DatabaseRedis#Any#,197

Before Change


        return acls_cleaned

    def room_allows_cross_group_messaging(self, room_uuid: str) -> bool:
        raise NotImplementedError()

    def channel_for_room(self, room_id: str) -> str:
        if room_id is None or len(room_id.strip()) == 0:
            raise NoSuchRoomException

After Change


        return acls_cleaned

    def room_allows_cross_group_messaging(self, room_uuid: str) -> bool:
        acls = self.get_acls(room_uuid)
        if SessionKeys.crossgroup.value not in acls.keys():
            return False
        return acls[SessionKeys.crossgroup.value] == "y"

    def channel_for_room(self, room_id: str) -> str:
        if room_id is None or len(room_id.strip()) == 0:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: thenetcircle/dino
Commit Name: 65a607ea8e24c2f66c26245f507a59a7ca316896
Time: 2016-10-19
Author: oscar.eriks@gmail.com
File Name: dino/db/redis.py
Class Name: DatabaseRedis
Method Name: room_allows_cross_group_messaging


Project Name: thenetcircle/dino
Commit Name: 65a607ea8e24c2f66c26245f507a59a7ca316896
Time: 2016-10-19
Author: oscar.eriks@gmail.com
File Name: dino/db/rdbms/handler.py
Class Name: DatabaseRdbms
Method Name: room_allows_cross_group_messaging


Project Name: thenetcircle/dino
Commit Name: 152ecd0f74d01275cded6d9d0d7cca7905bc7f33
Time: 2016-10-11
Author: scorch@stink
File Name: dino/storage/cassandra.py
Class Name: CassandraStorage
Method Name: delete_acl