Rename XMPPJSONFileStorage to XMPPFileStorage.
It uses BinaryPack instead of JSON now.
This commit is contained in:
parent
d80dbedd1b
commit
005771ec2e
6 changed files with 19 additions and 17 deletions
|
@ -33,7 +33,7 @@
|
|||
#import "XMPPPresence.h"
|
||||
#import "XMPPRoster.h"
|
||||
#import "XMPPStreamManagement.h"
|
||||
#import "XMPPJSONFileStorage.h"
|
||||
#import "XMPPFileStorage.h"
|
||||
|
||||
@interface AppDelegate: OFObject
|
||||
#ifdef OF_HAVE_OPTIONAL_PROTOCOLS
|
||||
|
@ -107,8 +107,8 @@ OF_APPLICATION_DELEGATE(AppDelegate)
|
|||
conn = [[XMPPConnection alloc] init];
|
||||
[conn addDelegate: self];
|
||||
|
||||
XMPPJSONFileStorage *storage =
|
||||
[[XMPPJSONFileStorage alloc] initWithFile: @"storage.json"];
|
||||
XMPPFileStorage *storage =
|
||||
[[XMPPFileStorage alloc] initWithFile: @"storage.binarypack"];
|
||||
[conn setDataStorage: storage];
|
||||
|
||||
roster = [[XMPPRoster alloc] initWithConnection: conn];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue