Example #1
0
def chatre():
    u = current_user()
    form = request.get_json()
    print('!!friend chatre form', form)
    t = Chat.chatall(u.user_id, form['userto'], form['last'])
    return t
    pass
Example #2
0
def chatall():
    u = current_user()
    form = request.get_json()
    print('!!friend chatall form', form)
    t = Chat.chatall(u.user_id, form['userto'], None)
    return t