| Server IP : 178.128.116.179 / Your IP : 216.73.216.206 Web Server : nginx/1.30.3 System : Linux glamautowash 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/twisted/words/im/__pycache__/ |
Upload File : |
�
oj% � �� � d Z ddlmZ ddlmZ ddlmZmZ ddlm Z ddl
mZ ddlm
Z
ddlmZmZ G d � d
� Z G d� d� Z G d
� d� Z G d� de j( � Zy)zyInstance Messenger base classes for protocol support.
You will find these useful if you're adding a new protocol to IM.
� )�Type)�error)�Protocol�connectionDone)�styles)�Failure��prefixedMethods)�OFFLINE�OfflineErrorc �B � e Zd Zd� Zd� Zd� Zd� Zd� Zdefd�Z defd�Z
y )
�
AbstractGroupc � � || _ || _ y �N)�name�account)�selfr r s �>/usr/lib/python3/dist-packages/twisted/words/im/basesupport.py�__init__zAbstractGroup.__init__ s � ��� ���� c � � t | d� S )z�finds group commands
these commands are methods on me that start with imgroup_; they are
called with no arguments
�imgroup_r �r s r �getGroupCommandszAbstractGroup.getGroupCommands s � � �t�Z�0�0r c � � t | d� S )a( finds group commands
these commands are methods on me that start with imgroup_; they are
called with a user present within this room as an argument
you may want to override this in your group in order to filter for
appropriate commands on the given user
� imtarget_r )r �targets r �getTargetCommandszAbstractGroup.getTargetCommands# s � � �t�[�1�1r c � � | j j st �| j j j | j � y r )r �clientr � joinGroupr r s r �joinzAbstractGroup.join. s1 � ��|�|�"�"��������%�%�d�i�i�0r c � � | j j st �| j j j | j � y r )r r r �
leaveGroupr r s r �leavezAbstractGroup.leave3 s1 � ��|�|�"�"��������&�&�t�y�y�1r �returnc �<