diff options
| author | root <root@lalalizard.com> | 2012-12-13 13:59:18 -0500 |
|---|---|---|
| committer | root <root@lalalizard.com> | 2012-12-13 13:59:18 -0500 |
| commit | 03deba29a5e46d208ee7005f0fc72911c911f576 (patch) | |
| tree | a042132948d6f828e7852d3033131aa67720529d /backend | |
| parent | 2ec48b2d58943d86944b916c0b7d0f5e07febb4b (diff) | |
Fix for chat messages
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/views.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/views.py b/backend/views.py index 29df477..803d97c 100644 --- a/backend/views.py +++ b/backend/views.py @@ -181,11 +181,12 @@ def texts_response_str(texts): strio = u"" out = u"" for text in texts: - out += ('%d\t%s\t%d\t%d\t%s\t%s\n' % ( + out += ('%d\t%s\t%s\t%s\n' % ( + #out += ('%d\t%s\t%d\t%d\t%s\t%s\n' % ( text.id, datetime_to_timestamp(text.datetime), - text.user.id, - text.room.id, + #text.user.id, FIXME + #text.room.id, text.user.username, text.settings.get('text', '') )) |
