diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-09-26 22:41:54 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-09-26 22:41:54 +0000 |
commit | 32b48e3baea25d01efde34843978cb3b94507372 (patch) | |
tree | b40cd334bad87e29bbe3a32f5ce358ec4afacf35 /protocols/Tox/src/tox_proto.cpp | |
parent | 4a1bf959c8dc0e254e3cc8efcce0f2c89108e350 (diff) |
Tox:
- updater tox core
- avatars support part 2
git-svn-id: http://svn.miranda-ng.org/main/trunk@10609 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.cpp')
-rw-r--r-- | protocols/Tox/src/tox_proto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp index 19d830d97b..3016a400ee 100644 --- a/protocols/Tox/src/tox_proto.cpp +++ b/protocols/Tox/src/tox_proto.cpp @@ -41,10 +41,10 @@ PROTO<CToxProto>(protoName, userName) CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType);
// avatars
- /*CreateProtoService(PS_GETAVATARCAPS, &CToxProto::GetAvatarCaps);
+ CreateProtoService(PS_GETAVATARCAPS, &CToxProto::GetAvatarCaps);
CreateProtoService(PS_GETAVATARINFOT, &CToxProto::GetAvatarInfo);
CreateProtoService(PS_GETMYAVATART, &CToxProto::GetMyAvatar);
- CreateProtoService(PS_SETMYAVATART, &CToxProto::SetMyAvatar);*/
+ CreateProtoService(PS_SETMYAVATART, &CToxProto::SetMyAvatar);
}
CToxProto::~CToxProto()
@@ -63,7 +63,7 @@ DWORD_PTR __cdecl CToxProto::GetCaps(int type, MCONTACT hContact) case PFLAGNUM_2:
return PF2_ONLINE | PF2_SHORTAWAY | PF2_LIGHTDND;
case PFLAGNUM_4:
- return PF4_IMSENDUTF | PF4_SINGLEFILEONLY | PF4_NOAUTHDENYREASON |PF4_FORCEAUTH
+ return PF4_IMSENDUTF | PF4_SINGLEFILEONLY | PF4_NOAUTHDENYREASON | PF4_FORCEAUTH
| PF4_FORCEADDED | PF4_SUPPORTTYPING | PF4_AVATARS;
case PFLAG_UNIQUEIDTEXT:
return (INT_PTR)"Tox ID";
|