view libpurple/protocols/zephyr/ZSetSrv.c @ 18899:13abfc442ac6

Use msim_uid2username_from_blist() to resolve uid -> username on incoming messages, if it exists, now that this function works. Now receiving incoming messages is MUCH faster, since it doesn't require a trip to the server to resolve the username on every request.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Sat, 11 Aug 2007 18:28:19 +0000
parents 5fe8042783c1
children a8cc50c2279f
line wrap: on
line source

/* This file is part of the Project Athena Zephyr Notification System.
 * It contains source for the ZSetServerState function.
 *
 *	Created by:	Robert French
 *
 *	Copyright (c) 1987 by the Massachusetts Institute of Technology.
 *	For copying and distribution information, see the file
 *	"mit-copyright.h". 
 */

#include "internal.h"

Code_t ZSetServerState(state)
	int	state;
{
	__Zephyr_server = state;
	
	return (ZERR_NONE);
}