(self, conn, elem)
Send presence information to everyone subscribed to this
        account.
Send presence information to everyone subscribed to this
        account.
Send presence information to everyone subscribed to this account .
def broadcast(self, conn, elem):
        """Send presence information to everyone subscribed to this
        account."""

        roster = self._get(conn)
        for jid in roster.presence(conn.authJID, elem).subscribers():
            conn.send(jid, elem)
def broadcast ( self , conn , elem ) : roster = self . _get ( conn ) for jid in roster . presence ( conn . authJID , elem ) . subscribers ( ) : conn . send ( jid , elem )