Skip to content
Snippets Groups Projects
Commit 560a5b2b authored by rswindell's avatar rswindell
Browse files

number property did not have the correct flags value.

getting chat_settings property was returning laston value.
parent d9bc537b
No related branches found
No related tags found
No related merge requests found
......@@ -295,7 +295,7 @@ static JSBool js_user_get(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
s=user.tmpext;
break;
case USER_PROP_CHAT:
val=user.laston;
val=user.chat;
break;
case USER_PROP_NS_TIME:
val=user.laston;
......@@ -488,7 +488,7 @@ static JSBool js_user_set(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
static struct JSPropertySpec js_user_properties[] = {
/* name ,tinyid ,flags, getter, setter */
{ "number" ,USER_PROP_NUMBER ,USER_PROP_NUMBER, NULL,NULL},
{ "number" ,USER_PROP_NUMBER ,USER_PROP_FLAGS, NULL,NULL},
{ "alias" ,USER_PROP_ALIAS ,USER_PROP_FLAGS, NULL,NULL},
{ "name" ,USER_PROP_NAME ,USER_PROP_FLAGS, NULL,NULL},
{ "handle" ,USER_PROP_HANDLE ,USER_PROP_FLAGS, NULL,NULL},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment