def delUserFromOfflineMsgOffUserList(gtalk): users = getOfflineMsgOffUserListFromCache() if gtalk in users: users.remove(gtalk) setConfigValueWithCache('cache_offline_msgoff_user_list', users) return users
def delUserFromOfflineMsgOffUserList(gtalk): users = getOfflineMsgOffUserListFromCache() if gtalk in users: users.remove(gtalk) setConfigValueWithCache('cache_offline_msgoff_user_list',users) return users
def delUserFromOnlineUserList(gtalk): users = getOnlineUserListFromCache() if gtalk in users: users.remove(gtalk) setConfigValueWithCache('cache_online_user_list', users) return users
def delUserFromOnlineUserList(gtalk): users = getOnlineUserListFromCache() if gtalk in users: users.remove(gtalk) setConfigValueWithCache('cache_online_user_list',users) return users