Skip to content

Commit

Permalink
Revert "renaming"
Browse files Browse the repository at this point in the history
This reverts commit f264279.
  • Loading branch information
Felix Leupold committed Dec 13, 2013
1 parent f264279 commit cf3b75a
Show file tree
Hide file tree
Showing 247 changed files with 6 additions and 10 deletions.
Binary file modified .DS_Store
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ +(void)requestThreadsBefore: (NSDate *)before
[operation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
successBlock(responseObject);
} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
//NSLog(@"%@", fql);
NSLog(@"%@", fql);
failureBlock(error);
}];

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions SafeChat/BPMessage.m → FBEncryption/BPMessage.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ -(id)init

-(NSString *)text
{
if (_text != nil && [_text rangeOfString: @"SAFECHAT.IM"].location != NSNotFound) {
if (_text != nil && [_text rangeOfString: @"BLOCKPRISM.ORG"].location != NSNotFound) {
_text = [self decryptMessage: _text];
}
return _text;
Expand All @@ -67,7 +67,7 @@ -(NSString *)decryptMessage: (NSString *)message
//We break up the message into a submessage for each user and
//look for the one that is currently logged in.
BPFriend *me = [BPFriend me];
NSArray *submessages = [message componentsSeparatedByString: @"SAFECHAT.IM"];
NSArray *submessages = [message componentsSeparatedByString: @"BLOCKPRISM.ORG_"];
for (NSString *submessage in submessages)
{
if ([submessage rangeOfString: me.username].location == NSNotFound)
Expand Down Expand Up @@ -104,7 +104,7 @@ -(NSString *)encryptForParticipants: (NSArray *)participants
continue;
}
NSString *cipher = [[BPJavascriptRuntime getInstance] encrypt: self.text withSessionKey:participant.sessionKey];
NSString *encryptedPart = [NSString stringWithFormat: @"SAFECHAT.IM_%@@%@@%@", me.username, participant.username, cipher];
NSString *encryptedPart = [NSString stringWithFormat: @"BLOCKPRISM.ORG_%@@%@@%@", me.username, participant.username, cipher];
encryptedMessage = [encryptedMessage stringByAppendingString: encryptedPart];
}
self.encrypted = YES;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<key>CFBundleIconFiles</key>
<array>
<string>icon</string>
<string>logo_58</string>
<string>logo_80</string>
<string>logo_120</string>
<string>logo</string>
Expand Down Expand Up @@ -59,7 +60,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<string>1.0</string>
<key>FacebookAppID</key>
<string>1378001845774632</string>
<key>FacebookDisplayName</key>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
<key>orderHint</key>
<integer>0</integer>
</dict>
<key>SafeChat.IM.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
Expand Down

0 comments on commit cf3b75a

Please sign in to comment.