feat: wakuext_imageServerUrl
This commit is contained in:
parent
10b44a254c
commit
353767aee6
|
@ -0,0 +1,7 @@
|
||||||
|
package protocol
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
|
func (m *Messenger) ImageServerURL() string {
|
||||||
|
return fmt.Sprintf("https://localhost:%d/messages/", m.imageServer.Port)
|
||||||
|
}
|
|
@ -967,6 +967,10 @@ func (api *PublicAPI) BackupData() (uint64, error) {
|
||||||
return api.service.messenger.BackupData(context.Background())
|
return api.service.messenger.BackupData(context.Background())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (api *PublicAPI) ImageServerURL() string {
|
||||||
|
return api.service.messenger.ImageServerURL()
|
||||||
|
}
|
||||||
|
|
||||||
// -----
|
// -----
|
||||||
// HELPER
|
// HELPER
|
||||||
// -----
|
// -----
|
||||||
|
|
Loading…
Reference in New Issue