Skip to content

Bug: <exports.npwd:setPhoneVisible(false)> [ inActiveCall ] #894

@NewEditOfficial

Description

@NewEditOfficial

Development Issue

Unsure

Phone Version

Latest - 1.7.0

Issue Description

Bug description

  • After call is initialized, hiding phone via [exports.npwd:setPhoneVisible(true)] on CLIENT [A] (boothUser) - should work, but nope.
  • Phone should hide, when func is called, bypassing (Related logic picture via HasPhone), to ensure that call will not be rejected, even phoneUI is "hidden" 👍

Related logic picture:

image

Issue Reproduction

CLIENT [A] - Target
CLIENT [B] - Initiator

  1. CLIENT [B] call to CLIENT [A] (Booth user)
  2. For CLIENT [A] hide phone via npwd:setPhoneVisible(false)
  3. Result: Failed to hide phone for CLIENT [A]

Used code:

  "PhoneAsItem": {
    "enabled": true,
    "exportResource": "booth",
    "exportFunction": "HasPhone"
  },
local function HasPhone()
    return true
end

exports("HasPhone", HasPhone)

Evidence

CLIENT [A]

unknown

CLIENT [B]

unknown (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions