@ -154,8 +154,6 @@ public final class MultiDeviceProtocol : NSObject {
@objc ( getAutoGeneratedMultiDeviceFRMessageForHexEncodedPublicKey : in : )
public static func getAutoGeneratedMultiDeviceFRMessage ( for hexEncodedPublicKey : String , in transaction : YapDatabaseReadWriteTransaction ) -> FriendRequestMessage {
let thread = TSContactThread . getOrCreateThread ( withContactId : hexEncodedPublicKey , transaction : transaction )
thread . shouldThreadBeVisible = true
thread . save ( with : transaction )
let result = FriendRequestMessage ( timestamp : NSDate . ows_millisecondTimeStamp ( ) , thread : thread , body : " Please accept to enable messages to be synced across devices " )
result . skipSave = true // TODO: W h y i s t h i s n e c e s s a r y a g a i n ?
return result