|
|
@ -3747,7 +3747,7 @@ typedef OWSContact * (^OWSContactBlock)(YapDatabaseReadWriteTransaction *transac
|
|
|
|
OWSLogInfo(@"sendFakeMessages: %lu", (unsigned long)counter);
|
|
|
|
OWSLogInfo(@"sendFakeMessages: %lu", (unsigned long)counter);
|
|
|
|
|
|
|
|
|
|
|
|
for (NSUInteger i = 0; i < counter; i++) {
|
|
|
|
for (NSUInteger i = 0; i < counter; i++) {
|
|
|
|
NSString *randomText = [self randomText];
|
|
|
|
NSString *randomText = [[self randomText] stringByAppendingFormat:@" (sequence: %lu)", (unsigned long)i + 1];
|
|
|
|
switch (arc4random_uniform(isTextOnly ? 2 : 4)) {
|
|
|
|
switch (arc4random_uniform(isTextOnly ? 2 : 4)) {
|
|
|
|
case 0: {
|
|
|
|
case 0: {
|
|
|
|
TSIncomingMessage *message =
|
|
|
|
TSIncomingMessage *message =
|
|
|
|