diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-11-15 11:59:09 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-11-15 11:59:09 +0000 |
commit | f4d4a205f136c6373c415657dd35b4f078f25c69 (patch) | |
tree | 8acda5955bd6dd93e50c9fc8926cc511b38d01a5 /src/user.py | |
parent | de7c007a22fc9f8b6aa9ddd94e55ec4f2b13c71d (diff) | |
download | poezio-f4d4a205f136c6373c415657dd35b4f078f25c69.tar.gz poezio-f4d4a205f136c6373c415657dd35b4f078f25c69.tar.bz2 poezio-f4d4a205f136c6373c415657dd35b4f078f25c69.tar.xz poezio-f4d4a205f136c6373c415657dd35b4f078f25c69.zip |
a few renamings, and some other stuff
Diffstat (limited to 'src/user.py')
-rw-r--r-- | src/user.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/user.py b/src/user.py index eb8587f8..ba39a8fb 100644 --- a/src/user.py +++ b/src/user.py @@ -14,6 +14,11 @@ # You should have received a copy of the GNU General Public License # along with Poezio. If not, see <http://www.gnu.org/licenses/>. +""" +Define the user class. +An user is a MUC participant, not a roster contact (see contact.py) +""" + from random import randrange, choice from config import config from datetime import timedelta, datetime @@ -26,6 +31,7 @@ ROLE_DICT = { 'participant':2, 'moderator':3 } + class User(object): """ keep trace of an user in a Room |