Remove api TODO comments
// FREEBIE
This commit is contained in:
		
					parent
					
						
							
								80d32103d1
							
						
					
				
			
			
				commit
				
					
						f863616785
					
				
			
		
					 2 changed files with 4 additions and 10 deletions
				
			
		| 
						 | 
					@ -39004,8 +39004,8 @@ var TextSecureServer = (function() {
 | 
				
			||||||
                };
 | 
					                };
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            //TODO: This is just to make the server happy (v2 clients should choke on publicKey),
 | 
					            // This is just to make the server happy
 | 
				
			||||||
            // it needs removed before release
 | 
					            // (v2 clients should choke on publicKey)
 | 
				
			||||||
            keys.lastResortKey = {keyId: 0x7fffFFFF, publicKey: btoa("42")};
 | 
					            keys.lastResortKey = {keyId: 0x7fffFFFF, publicKey: btoa("42")};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            return this.ajax({
 | 
					            return this.ajax({
 | 
				
			||||||
| 
						 | 
					@ -39037,9 +39037,6 @@ var TextSecureServer = (function() {
 | 
				
			||||||
                    res.devices[i].signedPreKey.publicKey = StringView.base64ToBytes(res.devices[i].signedPreKey.publicKey);
 | 
					                    res.devices[i].signedPreKey.publicKey = StringView.base64ToBytes(res.devices[i].signedPreKey.publicKey);
 | 
				
			||||||
                    res.devices[i].signedPreKey.signature = StringView.base64ToBytes(res.devices[i].signedPreKey.signature);
 | 
					                    res.devices[i].signedPreKey.signature = StringView.base64ToBytes(res.devices[i].signedPreKey.signature);
 | 
				
			||||||
                    res.devices[i].preKey.publicKey = StringView.base64ToBytes(res.devices[i].preKey.publicKey);
 | 
					                    res.devices[i].preKey.publicKey = StringView.base64ToBytes(res.devices[i].preKey.publicKey);
 | 
				
			||||||
                    //TODO: Is this still needed?
 | 
					 | 
				
			||||||
                    //if (res.devices[i].keyId === undefined)
 | 
					 | 
				
			||||||
                    //  res.devices[i].keyId = 0;
 | 
					 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                return res;
 | 
					                return res;
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -209,8 +209,8 @@ var TextSecureServer = (function() {
 | 
				
			||||||
                };
 | 
					                };
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            //TODO: This is just to make the server happy (v2 clients should choke on publicKey),
 | 
					            // This is just to make the server happy
 | 
				
			||||||
            // it needs removed before release
 | 
					            // (v2 clients should choke on publicKey)
 | 
				
			||||||
            keys.lastResortKey = {keyId: 0x7fffFFFF, publicKey: btoa("42")};
 | 
					            keys.lastResortKey = {keyId: 0x7fffFFFF, publicKey: btoa("42")};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            return this.ajax({
 | 
					            return this.ajax({
 | 
				
			||||||
| 
						 | 
					@ -242,9 +242,6 @@ var TextSecureServer = (function() {
 | 
				
			||||||
                    res.devices[i].signedPreKey.publicKey = StringView.base64ToBytes(res.devices[i].signedPreKey.publicKey);
 | 
					                    res.devices[i].signedPreKey.publicKey = StringView.base64ToBytes(res.devices[i].signedPreKey.publicKey);
 | 
				
			||||||
                    res.devices[i].signedPreKey.signature = StringView.base64ToBytes(res.devices[i].signedPreKey.signature);
 | 
					                    res.devices[i].signedPreKey.signature = StringView.base64ToBytes(res.devices[i].signedPreKey.signature);
 | 
				
			||||||
                    res.devices[i].preKey.publicKey = StringView.base64ToBytes(res.devices[i].preKey.publicKey);
 | 
					                    res.devices[i].preKey.publicKey = StringView.base64ToBytes(res.devices[i].preKey.publicKey);
 | 
				
			||||||
                    //TODO: Is this still needed?
 | 
					 | 
				
			||||||
                    //if (res.devices[i].keyId === undefined)
 | 
					 | 
				
			||||||
                    //  res.devices[i].keyId = 0;
 | 
					 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                return res;
 | 
					                return res;
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue