mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 03:26:47 +00:00
Add api endpoint for deleting deprecated signaling key
This commit is contained in:
1 parent
a929aaca04
commit
ea38645493
1 file changed
+8
@@ -356,6 +356,14 @@ public class AccountController {
|
||||
accounts.update(account);
|
||||
}
|
||||
|
||||
@Timed
|
||||
@DELETE
|
||||
@Path("/signaling_key")
|
||||
public void removeSignalingKey(@Auth Account account) {
|
||||
account.getAuthenticatedDevice().get().setSignalingKey(null);
|
||||
accounts.update(account);
|
||||
}
|
||||
|
||||
@Timed
|
||||
@PUT
|
||||
@Path("/attributes/")
|
||||
|
||||
Reference in new issue
Block a user