mirror of
https://github.com/signalapp/Signal-Server
synced 2026-05-19 23:29:05 +01:00
Add api endpoint for deleting deprecated signaling key
This commit is contained in:
@@ -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